/**
 * @author MIAO
 * Created on 2011-10-10
 * For more information, please visit:ismiao.com
 */
package com.ismiao.designPattern.Builder;

public class Client {
	public static void main(String[] args){
		Builder builder = new ConcreteBuilder();
		Director director = new Director(builder);
		//builder负责真正的生产
		director.construct();
		//向builder要产品而不是向director要产品
		Product_Miao product = builder.getResult();
		System.out.println(product.toString());
	}
}
